* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #badc58;
}
.container {
  width: 300px;
  height: 500px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  perspective: 900px;
}
.card {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 500px;
  background-color: #22a6b3;
  transform: rotateX(60deg) scale(0.7);
  /* perspective: 900px; */
  transition: 0.5s all ease;
  box-shadow: 0px 20px 100px #555;
}
.card:hover {
  transform: rotate(0deg) scale(1) translateY(10px);
  /* animation: entry 1s linear 1; */
}
@keyframes entry {
  0% {
    top: -20%;
    opacity: 0.1;
  }
  100% {
    top: 0%;
  }
}
